package com.ceba.test.base.enums;

import com.ceba.test.base.language.ResourceUtils;

public enum LogOpTypeEnum {

	/*
	 * 操作类型 
	 * 1- 创建
	 * 2- 删除
	 * 3- 查看
	 * 4- 修改
	 * 5- 初始化
	 * 6-上传
	 * 7-关闭
	 * 8-任务调度开始
	 * 9-任务调度结束
	 * 
	 * 20- 签名，不需要签名的文件
	 * 21- 签名，需要签名的文件
	 */
	CREATE_OPYPE(1,ResourceUtils.getMessage("MODULES_ESTABLISH")),
	DEL_OPYPE(2,ResourceUtils.getMessage("REPORT_DELETE")),
	SEACH_OPYPE(3,ResourceUtils.getMessage("IDS_SELECT")),
	UPDATE_OPYPE(4,ResourceUtils.getMessage("IDS_UPDATE")),
	INIT_OPYPE(5,ResourceUtils.getMessage("MODULES_INITIALIZATION")),
	UPLOAD_OPYPE(6,ResourceUtils.getMessage("IDS_UPLOAD")),
	CLOSE_OPYPE(7,ResourceUtils.getMessage("PDFVER_CLOSE")),
	TASKOPEN_OPYPE(8,ResourceUtils.getMessage("MODULES_TASK_SCHEDULING_START")),
	TASKCLOSE_OPYPE(9,ResourceUtils.getMessage("MODULES_TASK_SCHEDULINGS_END")),
	SIGN_NO_NEED(20,ResourceUtils.getMessage("MODULES_A_SIGNATURE_DOCUMENT_NEED_SIGNED")),
	SIGN_NEED(21,ResourceUtils.getMessage("MODULES_A_SIGNATURE_DOCUMENT_NEED_SIGNED"));
	
	private int type;
	private String value;
	private LogOpTypeEnum(int type,String value){
		this.type = type;
		this.value = value;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	
}
